/**
 * Created by Administrator on 2017/8/4.
 */


import React,{Component} from 'react'
import {AppRegistry} from 'react-native'
import {StackNavigator} from 'react-navigation'

import LoginPage from './View/Login'
import RegisterPage from './View/RegisterOrUpdate'
import HostPage from './View/Host'
import Message from './View/Message'
import ReplenishmentNotify from './View/ReplenishmentNotify'
import ReplenishmentDetails from './View/ReplenishmentDetails'
import Replenishment from './View/Replenishment'
import UserMenuPage from './View/UserMenu'
import UserSet from './View/Setting'
import Splash from './View/Splash'
const root = StackNavigator({
    Splash:{screen:Splash},
    Login:{screen:LoginPage},
    Register:{screen:RegisterPage},
    Host:{screen:HostPage},
    Message:{screen:Message},
    ReplenishmentNotify:{screen:ReplenishmentNotify},
    ReplenishmentDetails:{screen:ReplenishmentDetails},
    Replenishment:{screen:Replenishment},
    UserMenuPage:{screen:UserMenuPage},
    UserSet:{screen:UserSet}
})


AppRegistry.registerComponent('rnPaper',()=>root);





